package control.ventana;

import java.awt.event.WindowEvent;
import java.awt.event.WindowFocusListener;

import javax.swing.JFrame;


public class ControladorFocusearSiempre implements WindowFocusListener {

	public void windowGainedFocus(WindowEvent e) {
		
	}

	public void windowLostFocus(WindowEvent e) {
		JFrame ventana = (JFrame)e.getSource();
		ventana.requestFocus();
	}


}